package behavioral.observer;

public class DigitObserver implements Observer {

	public void update(NumberGenerator generator) {
		System.out.println("DigitObserver:" + generator.getNumber());
		try {
			Thread.sleep(1000);
		} catch (InterruptedException e) {
			
		}
	}

}
